//
//  CCKSubscibeTitleTableViewCell.m
//  budejieMe
//
//  Created by SuperJJ on 16/8/26.
//  Copyright © 2016年 SuperJJ. All rights reserved.
//

#import "CCKSubscibeTitleTableViewCell.h"

@implementation CCKSubscibeTitleTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
    {
        [self setupUI];
    }
    return self;
}

-(void)setupUI
{
    UILabel *lblTitle = [UILabel new];
    [self.contentView addSubview:lblTitle];
    
    self.backgroundColor = [UIColor whiteColor];
    
    lblTitle.text = @"推荐订阅";
    lblTitle.font = [UIFont systemFontOfSize:12];
    lblTitle.textColor = [UIColor blackColor];
    
    
    
    [lblTitle mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.left.top.equalTo(self.contentView).offset(8);
    }];
    
    self.userInteractionEnabled = NO;
}

@end
